package ltd.hxya.novel.common.utils;

import com.alibaba.fastjson.JSON;

public class JsonUtils {

     public static String objectToString(Object value){
        if (value instanceof String){
            return (String) value;
        }

        return JSON.toJSONString(value);
     }
}
